package com.tencent;


import com.tencent.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(name = "store-service", fallbackFactory = StoreServiceFallbackFactory.class)
@RequestMapping("/store")
public interface StoreService {
    @PostMapping("/add")
    Result add(@RequestBody Store store);
}
